home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-02-27 | 3.6 KB | [ TEXT/KAHL]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
66%
dexvert
Compact Compressed (Unix) (archive/compact)
ext
Supported
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, inited, Sat Feb 27 17:04:46 1993, modified Sat Feb 27 17:04:46 1993, creator Think C, type ASCII, 2978 bytes "PrintfExit.c" , at 0xc22 428 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ KAHL]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 0c 50 72 69 6e 74 66 | 45 78 69 74 2e 63 00 00 |..Printf|Exit.c..| |00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......| |00000050| 00 00 00 00 00 0b a2 00 | 00 01 ac a7 b5 95 fe a7 |........|........| |00000060| b5 95 fe 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c0 fb 00 00 |........|........| |00000080| 2f 2a 20 0d 50 72 69 6e | 74 66 45 78 69 74 2e 63 |/* .Prin|tfExit.c| |00000090| 0d 0d 50 72 69 6e 74 66 | 45 78 69 74 28 29 20 69 |..Printf|Exit() i| |000000a0| 73 20 6e 6f 72 6d 61 6c | 6c 79 20 65 71 75 69 76 |s normal|ly equiv| |000000b0| 61 6c 65 6e 74 20 74 6f | 20 63 61 6c 6c 69 6e 67 |alent to| calling| |000000c0| 20 70 72 69 6e 74 66 20 | 61 6e 64 20 65 78 69 74 | printf |and exit| |000000d0| 2e 0d 0d 52 65 71 75 69 | 72 65 28 71 75 69 63 6b |...Requi|re(quick| |000000e0| 44 72 61 77 56 65 72 73 | 69 6f 6e 29 20 63 68 65 |DrawVers|ion) che| |000000f0| 63 6b 73 20 74 68 61 74 | 20 74 68 65 20 63 6f 6d |cks that| the com| |00000100| 70 75 74 65 72 20 69 73 | 20 70 72 6f 76 69 64 69 |puter is| providi| |00000110| 6e 67 20 74 68 65 20 65 | 6e 76 69 72 6f 6e 6d 65 |ng the e|nvironme| |00000120| 6e 74 0d 74 68 61 74 20 | 79 6f 75 72 20 70 72 6f |nt.that |your pro| |00000130| 67 72 61 6d 20 6e 65 65 | 64 73 2c 20 61 6e 64 20 |gram nee|ds, and | |00000140| 66 61 69 6c 73 20 67 72 | 61 63 65 66 75 6c 6c 79 |fails gr|acefully| |00000150| 20 69 66 20 6e 6f 74 2e | 0d 0d 4c 6f 74 73 20 6f | if not.|..Lots o| |00000160| 66 20 56 69 64 65 6f 54 | 6f 6f 6c 62 6f 78 20 72 |f VideoT|oolbox r| |00000170| 6f 75 74 69 6e 65 73 2c | 20 77 68 65 6e 20 74 68 |outines,| when th| |00000180| 65 79 20 66 69 6e 64 20 | 61 20 72 65 61 6c 6c 79 |ey find |a really| |00000190| 20 67 72 69 65 76 6f 75 | 73 20 65 72 72 6f 72 2c | grievou|s error,| |000001a0| 20 70 72 69 6e 74 20 6f | 75 74 0d 61 20 6d 65 73 | print o|ut.a mes| |000001b0| 73 61 67 65 20 61 6e 64 | 20 65 78 69 74 2e 20 48 |sage and| exit. H| |000001c0| 61 76 69 6e 67 20 6f 6e | 65 20 72 6f 75 74 69 6e |aving on|e routin| |000001d0| 65 20 74 68 61 74 20 64 | 6f 65 73 20 62 6f 74 68 |e that d|oes both| |000001e0| 20 6d 61 6b 65 73 20 74 | 68 65 20 63 6f 64 65 20 | makes t|he code | |000001f0| 73 6c 69 67 68 74 6c 79 | 0d 6e 65 61 74 65 72 2c |slightly|.neater,| |00000200| 20 73 69 6e 63 65 20 74 | 68 65 20 69 66 20 73 74 | since t|he if st| |00000210| 61 74 65 6d 65 6e 74 20 | 74 68 65 6e 20 64 6f 65 |atement |then doe| |00000220| 73 6e 27 74 20 6e 65 65 | 64 20 62 72 61 63 65 73 |sn't nee|d braces| |00000230| 2e 20 46 75 72 74 68 65 | 72 6d 6f 72 65 2c 20 62 |. Furthe|rmore, b| |00000240| 6f 74 68 20 6f 66 0d 74 | 68 65 73 65 20 66 75 6e |oth of.t|hese fun| |00000250| 63 74 69 6f 6e 73 2c 20 | 70 72 69 6e 74 66 2c 20 |ctions, |printf, | |00000260| 61 6e 64 20 65 78 69 74 | 20 61 72 65 20 6c 69 61 |and exit| are lia| |00000270| 62 6c 65 20 74 6f 20 62 | 72 65 61 6b 20 69 6e 20 |ble to b|reak in | |00000280| 66 6f 72 65 69 67 6e 20 | 65 6e 76 69 72 6f 6e 6d |foreign |environm| |00000290| 65 6e 74 73 2c 0d 65 2e | 67 20 77 68 65 6e 20 72 |ents,.e.|g when r| |000002a0| 75 6e 6e 69 6e 67 20 61 | 73 20 61 20 4d 45 58 20 |unning a|s a MEX | |000002b0| 72 65 73 6f 75 72 63 65 | 20 75 6e 64 65 72 20 4d |resource| under M| |000002c0| 61 74 4c 61 62 2e 20 4e | 6f 77 20 74 68 65 20 70 |atLab. N|ow the p| |000002d0| 72 6f 62 6c 65 6d 20 69 | 73 20 63 6f 6e 66 69 6e |roblem i|s confin| |000002e0| 65 64 20 74 6f 0d 74 68 | 69 73 20 66 69 6c 65 2c |ed to.th|is file,| |000002f0| 20 77 68 65 72 65 20 69 | 74 20 63 61 6e 20 62 65 | where i|t can be| |00000300| 20 68 61 6e 64 6c 65 64 | 20 62 79 20 63 6f 6e 64 | handled| by cond| |00000310| 69 74 69 6f 6e 61 6c 20 | 63 6f 6d 70 69 6c 61 74 |itional |compilat| |00000320| 69 6f 6e 2e 0d 0d 53 69 | 6e 63 65 20 50 72 69 6e |ion...Si|nce Prin| |00000330| 74 66 45 78 69 74 20 69 | 73 20 63 61 6c 6c 65 64 |tfExit i|s called| |00000340| 20 6f 6e 6c 79 20 77 68 | 65 6e 20 77 65 27 72 65 | only wh|en we're| |00000350| 20 6e 65 61 72 20 64 65 | 61 74 68 2c 20 69 74 20 | near de|ath, it | |00000360| 73 65 65 6d 73 20 70 72 | 75 64 65 6e 74 20 74 6f |seems pr|udent to| |00000370| 20 6d 61 6b 65 20 73 75 | 72 65 0d 74 68 65 72 65 | make su|re.there| |00000380| 27 73 20 65 6e 6f 75 67 | 68 20 73 74 61 63 6b 20 |'s enoug|h stack | |00000390| 73 70 61 63 65 20 62 65 | 66 6f 72 65 20 63 61 6c |space be|fore cal| |000003a0| 6c 69 6e 67 20 70 72 69 | 6e 74 66 2c 20 73 69 6e |ling pri|ntf, sin| |000003b0| 63 65 20 69 74 20 63 72 | 61 73 68 65 73 20 69 66 |ce it cr|ashes if| |000003c0| 20 74 68 65 72 65 27 73 | 0d 6c 65 73 73 20 74 68 | there's|.less th| |000003d0| 61 6e 20 61 62 6f 75 74 | 20 34 35 30 30 20 62 79 |an about| 4500 by| |000003e0| 74 73 20 6f 66 20 73 74 | 61 63 6b 2e 20 4e 6f 74 |ts of st|ack. Not| |000003f0| 65 20 74 68 61 74 20 53 | 74 61 63 6b 47 72 6f 77 |e that S|tackGrow| |00000400| 28 29 20 6d 6f 76 65 73 | 20 6d 65 6d 6f 72 79 2e |() moves| memory.| |00000410| 0d 0d 49 27 76 65 20 72 | 65 70 6c 61 63 65 64 20 |..I've r|eplaced | |00000420| 61 6c 6c 20 63 61 6c 6c | 73 20 74 6f 20 65 78 69 |all call|s to exi| |00000430| 74 28 29 20 69 6e 20 74 | 68 65 20 65 6e 74 69 72 |t() in t|he entir| |00000440| 65 20 56 69 64 65 6f 54 | 6f 6f 6c 62 6f 78 20 62 |e VideoT|oolbox b| |00000450| 79 20 63 61 6c 6c 73 20 | 74 6f 0d 50 72 69 6e 74 |y calls |to.Print| |00000460| 66 45 78 69 74 28 29 2e | 0d 0d 48 49 53 54 4f 52 |fExit().|..HISTOR| |00000470| 59 3a 0d 32 2f 32 30 2f | 39 33 09 64 67 70 09 57 |Y:.2/20/|93.dgp.W| |00000480| 72 6f 74 65 20 69 74 20 | 62 61 73 65 64 20 6f 6e |rote it |based on| |00000490| 20 63 6f 6e 76 65 72 73 | 61 74 69 6f 6e 20 77 69 | convers|ation wi| |000004a0| 74 68 20 44 61 76 69 64 | 20 42 72 61 69 6e 61 72 |th David| Brainar| |000004b0| 64 2e 0d 2a 2f 0d 23 69 | 6e 63 6c 75 64 65 20 22 |d..*/.#i|nclude "| |000004c0| 56 69 64 65 6f 54 6f 6f | 6c 62 6f 78 2e 68 22 09 |VideoToo|lbox.h".| |000004d0| 2f 2f 20 53 74 61 63 6b | 47 72 6f 77 28 29 0d 23 |// Stack|Grow().#| |000004e0| 69 6e 63 6c 75 64 65 20 | 3c 73 74 64 61 72 67 2e |include |<stdarg.| |000004f0| 68 3e 09 09 09 2f 2f 20 | 66 6f 72 20 76 61 72 69 |h>...// |for vari| |00000500| 61 62 6c 65 2d 6e 75 6d | 62 65 72 2d 6f 66 2d 61 |able-num|ber-of-a| |00000510| 72 67 75 6d 65 6e 74 20 | 6d 61 63 72 6f 73 0d 23 |rgument |macros.#| |00000520| 69 6e 63 6c 75 64 65 20 | 22 6d 63 36 38 38 38 31 |include |"mc68881| |00000530| 2e 68 22 0d 0d 69 6e 74 | 20 50 72 69 6e 74 66 45 |.h"..int| PrintfE| |00000540| 78 69 74 28 63 68 61 72 | 20 2a 66 6f 72 6d 61 74 |xit(char| *format| |00000550| 2c 2e 2e 2e 29 0d 7b 0d | 09 76 61 5f 6c 69 73 74 |,...).{.|.va_list| |00000560| 20 61 72 67 73 3b 0d 09 | 69 6e 74 20 69 3b 0d 09 | args;..|int i;..| |00000570| 6c 6f 6e 67 20 76 61 6c | 75 65 3d 30 3b 0d 20 20 |long val|ue=0;. | |00000580| 0d 09 2f 2f 20 54 68 65 | 20 6d 61 69 6e 20 70 72 |..// The| main pr| |00000590| 6f 67 72 61 6d 20 6d 61 | 79 20 68 61 76 65 20 63 |ogram ma|y have c| |000005a0| 68 61 6e 67 65 64 20 74 | 68 65 20 63 75 72 72 65 |hanged t|he curre| |000005b0| 6e 74 20 64 65 76 69 63 | 65 2e 20 4c 65 74 27 73 |nt devic|e. Let's| |000005c0| 0d 09 2f 2f 20 72 65 73 | 74 6f 72 65 20 74 68 65 |..// res|tore the| |000005d0| 20 6d 61 69 6e 20 64 65 | 76 69 63 65 20 62 65 66 | main de|vice bef| |000005e0| 6f 72 65 20 64 6f 69 6e | 67 20 74 68 65 20 70 72 |ore doin|g the pr| |000005f0| 69 6e 74 66 2e 0d 09 47 | 65 73 74 61 6c 74 28 67 |intf...G|estalt(g| |00000600| 65 73 74 61 6c 74 51 75 | 69 63 6b 64 72 61 77 56 |estaltQu|ickdrawV| |00000610| 65 72 73 69 6f 6e 2c 26 | 76 61 6c 75 65 29 3b 0d |ersion,&|value);.| |00000620| 09 69 66 28 76 61 6c 75 | 65 3e 3d 67 65 73 74 61 |.if(valu|e>=gesta| |00000630| 6c 74 38 42 69 74 51 44 | 29 53 65 74 47 44 65 76 |lt8BitQD|)SetGDev| |00000640| 69 63 65 28 47 65 74 4d | 61 69 6e 44 65 76 69 63 |ice(GetM|ainDevic| |00000650| 65 28 29 29 3b 0d 09 0d | 09 69 66 28 53 74 61 63 |e());...|.if(Stac| |00000660| 6b 53 70 61 63 65 28 29 | 3c 36 30 30 30 29 53 74 |kSpace()|<6000)St| |00000670| 61 63 6b 47 72 6f 77 28 | 36 30 30 30 2d 53 74 61 |ackGrow(|6000-Sta| |00000680| 63 6b 53 70 61 63 65 28 | 29 29 3b 0d 09 23 69 66 |ckSpace(|));..#if| |00000690| 6e 64 65 66 20 4d 41 54 | 4c 41 42 0d 09 09 2f 2f |ndef MAT|LAB...//| |000006a0| 20 70 72 69 6e 74 66 20 | 63 72 61 73 68 65 73 20 | printf |crashes | |000006b0| 69 66 20 74 68 65 72 65 | 27 73 20 6c 65 73 73 20 |if there|'s less | |000006c0| 74 68 61 6e 20 61 62 6f | 75 74 20 34 35 30 30 20 |than abo|ut 4500 | |000006d0| 62 79 74 65 73 20 6f 66 | 20 73 74 61 63 6b 20 73 |bytes of| stack s| |000006e0| 70 61 63 65 0d 09 09 69 | 66 28 53 74 61 63 6b 53 |pace...i|f(StackS| |000006f0| 70 61 63 65 28 29 3e 35 | 30 30 30 29 7b 0d 09 09 |pace()>5|000){...| |00000700| 09 76 61 5f 73 74 61 72 | 74 28 61 72 67 73 2c 66 |.va_star|t(args,f| |00000710| 6f 72 6d 61 74 29 3b 0d | 09 09 09 69 3d 76 66 70 |ormat);.|...i=vfp| |00000720| 72 69 6e 74 66 28 73 74 | 64 6f 75 74 2c 66 6f 72 |rintf(st|dout,for| |00000730| 6d 61 74 2c 61 72 67 73 | 29 3b 0d 09 09 09 76 61 |mat,args|);....va| |00000740| 5f 65 6e 64 28 61 72 67 | 73 29 3b 0d 09 09 7d 65 |_end(arg|s);...}e| |00000750| 6c 73 65 20 53 79 73 42 | 65 65 70 28 32 30 29 3b |lse SysB|eep(20);| |00000760| 0d 09 09 65 78 69 74 28 | 31 29 3b 0d 09 23 65 6c |...exit(|1);..#el| |00000770| 73 65 0d 09 7b 0d 09 09 | 63 68 61 72 20 73 5b 35 |se..{...|char s[5| |00000780| 31 32 5d 3b 0d 09 09 0d | 09 09 76 61 5f 73 74 61 |12];....|..va_sta| |00000790| 72 74 28 61 72 67 73 2c | 66 6f 72 6d 61 74 29 3b |rt(args,|format);| |000007a0| 0d 09 09 69 3d 76 73 70 | 72 69 6e 74 66 28 73 2c |...i=vsp|rintf(s,| |000007b0| 66 6f 72 6d 61 74 2c 61 | 72 67 73 29 3b 0d 09 09 |format,a|rgs);...| |000007c0| 76 61 5f 65 6e 64 28 61 | 72 67 73 29 3b 0d 09 09 |va_end(a|rgs);...| |000007d0| 6d 65 78 5f 65 72 72 6f | 72 28 73 29 3b 09 2f 2f |mex_erro|r(s);.//| |000007e0| 20 41 73 6b 20 4d 61 74 | 4c 61 62 20 74 6f 20 72 | Ask Mat|Lab to r| |000007f0| 65 70 6f 72 74 20 74 68 | 65 20 65 72 72 6f 72 2e |eport th|e error.| |00000800| 0d 09 7d 0d 09 23 65 6e | 64 69 66 0d 7d 0d 0d 76 |..}..#en|dif.}..v| |00000810| 6f 69 64 20 52 65 71 75 | 69 72 65 28 6c 6f 6e 67 |oid Requ|ire(long| |00000820| 20 71 75 69 63 6b 44 72 | 61 77 56 65 72 73 69 6f | quickDr|awVersio| |00000830| 6e 29 0d 2f 2f 20 43 61 | 6c 6c 20 74 68 69 73 20 |n).// Ca|ll this | |00000840| 61 74 20 74 68 65 20 62 | 65 67 69 6e 6e 69 6e 67 |at the b|eginning| |00000850| 20 6f 66 20 79 6f 75 72 | 20 6d 61 69 6e 20 70 72 | of your| main pr| |00000860| 6f 67 72 61 6d 2c 20 73 | 6f 20 74 68 61 74 20 79 |ogram, s|o that y| |00000870| 6f 75 72 20 70 72 6f 67 | 72 61 6d 0d 2f 2f 20 77 |our prog|ram.// w| |00000880| 69 6c 6c 20 66 61 69 6c | 20 67 72 61 63 65 66 75 |ill fail| gracefu| |00000890| 6c 6c 79 2c 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |lly, ins|tead of | |000008a0| 63 72 61 73 68 69 6e 67 | 2c 20 77 68 65 6e 20 73 |crashing|, when s| |000008b0| 6f 6d 65 6f 6e 65 20 72 | 75 6e 73 20 69 74 0d 2f |omeone r|uns it./| |000008c0| 2f 20 6f 6e 20 61 20 63 | 6f 6d 70 75 74 65 72 20 |/ on a c|omputer | |000008d0| 74 68 61 74 20 6c 61 63 | 6b 73 20 77 68 61 74 20 |that lac|ks what | |000008e0| 79 6f 75 72 20 70 72 6f | 67 72 61 6d 20 6e 65 65 |your pro|gram nee| |000008f0| 64 73 2e 0d 2f 2f 20 54 | 68 65 20 66 70 75 20 61 |ds..// T|he fpu a| |00000900| 6e 64 20 63 70 75 20 74 | 65 73 74 73 20 61 75 74 |nd cpu t|ests aut| |00000910| 6f 6d 61 74 69 63 61 6c | 6c 79 20 74 72 61 63 6b |omatical|ly track| |00000920| 20 79 6f 75 72 20 63 75 | 72 72 65 6e 74 20 63 6f | your cu|rrent co| |00000930| 6d 70 69 6c 65 72 20 73 | 65 74 74 69 6e 67 73 2e |mpiler s|ettings.| |00000940| 0d 7b 0d 09 6c 6f 6e 67 | 20 76 61 6c 75 65 3b 0d |.{..long| value;.| |00000950| 09 4f 53 45 72 72 20 65 | 72 72 6f 72 3b 0d 09 0d |.OSErr e|rror;...| |00000960| 09 65 72 72 6f 72 3d 47 | 65 73 74 61 6c 74 28 67 |.error=G|estalt(g| |00000970| 65 73 74 61 6c 74 46 50 | 55 54 79 70 65 2c 26 76 |estaltFP|UType,&v| |00000980| 61 6c 75 65 29 3b 0d 09 | 69 66 28 65 72 72 6f 72 |alue);..|if(error| |00000990| 29 50 72 69 6e 74 66 45 | 78 69 74 28 22 53 6f 72 |)PrintfE|xit("Sor| |000009a0| 72 79 2c 20 49 20 72 65 | 71 75 69 72 65 20 47 65 |ry, I re|quire Ge| |000009b0| 73 74 61 6c 74 28 29 2e | 20 59 6f 75 72 20 53 79 |stalt().| Your Sy| |000009c0| 73 74 65 6d 20 69 73 20 | 74 6f 6f 20 6f 6c 64 21 |stem is |too old!| |000009d0| 5c 6e 22 29 3b 0d 09 69 | 66 28 6d 63 36 38 38 38 |\n");..i|f(mc6888| |000009e0| 31 20 26 26 20 76 61 6c | 75 65 3d 3d 30 29 0d 09 |1 && val|ue==0)..| |000009f0| 09 50 72 69 6e 74 66 45 | 78 69 74 28 22 53 6f 72 |.PrintfE|xit("Sor| |00000a00| 72 79 2e 20 49 27 76 65 | 20 62 65 65 6e 20 63 6f |ry. I've| been co| |00000a10| 6d 70 69 6c 65 64 20 74 | 6f 20 75 73 65 20 61 20 |mpiled t|o use a | |00000a20| 66 6c 6f 61 74 69 6e 67 | 20 70 6f 69 6e 74 20 63 |floating| point c| |00000a30| 68 69 70 2c 22 0d 09 09 | 09 22 20 61 6e 64 20 79 |hip,"...|." and y| |00000a40| 6f 75 20 64 6f 6e 27 74 | 20 68 61 76 65 20 6f 6e |ou don't| have on| |00000a50| 65 2e 5c 6e 22 29 3b 0d | 09 65 72 72 6f 72 3d 47 |e.\n");.|.error=G| |00000a60| 65 73 74 61 6c 74 28 67 | 65 73 74 61 6c 74 50 72 |estalt(g|estaltPr| |00000a70| 6f 63 65 73 73 6f 72 54 | 79 70 65 2c 26 76 61 6c |ocessorT|ype,&val| |00000a80| 75 65 29 3b 0d 09 69 66 | 28 6d 63 36 38 30 32 30 |ue);..if|(mc68020| |00000a90| 20 26 26 20 76 61 6c 75 | 65 3c 67 65 73 74 61 6c | && valu|e<gestal| |00000aa0| 74 36 38 30 32 30 29 0d | 09 09 50 72 69 6e 74 66 |t68020).|..Printf| |00000ab0| 45 78 69 74 28 22 53 6f | 72 72 79 2e 20 49 27 76 |Exit("So|rry. I'v| |00000ac0| 65 20 62 65 65 6e 20 63 | 6f 6d 70 69 6c 65 64 20 |e been c|ompiled | |00000ad0| 74 6f 20 75 73 65 20 61 | 20 36 38 30 32 30 20 70 |to use a| 68020 p| |00000ae0| 72 6f 63 65 73 73 6f 72 | 20 28 6f 72 20 62 65 74 |rocessor| (or bet| |00000af0| 74 65 72 29 2c 22 0d 09 | 09 09 22 20 61 6e 64 20 |ter),"..|.." and | |00000b00| 79 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 6f |you don'|t have o| |00000b10| 6e 65 2e 5c 6e 22 29 3b | 0d 09 47 65 73 74 61 6c |ne.\n");|..Gestal| |00000b20| 74 28 67 65 73 74 61 6c | 74 51 75 69 63 6b 64 72 |t(gestal|tQuickdr| |00000b30| 61 77 56 65 72 73 69 6f | 6e 2c 26 76 61 6c 75 65 |awVersio|n,&value| |00000b40| 29 3b 0d 09 69 66 28 76 | 61 6c 75 65 3c 71 75 69 |);..if(v|alue<qui| |00000b50| 63 6b 44 72 61 77 56 65 | 72 73 69 6f 6e 29 73 77 |ckDrawVe|rsion)sw| |00000b60| 69 74 63 68 28 71 75 69 | 63 6b 44 72 61 77 56 65 |itch(qui|ckDrawVe| |00000b70| 72 73 69 6f 6e 29 7b 0d | 09 09 63 61 73 65 20 67 |rsion){.|..case g| |00000b80| 65 73 74 61 6c 74 38 42 | 69 74 51 44 3a 0d 09 09 |estalt8B|itQD:...| |00000b90| 09 50 72 69 6e 74 66 45 | 78 69 74 28 22 53 6f 72 |.PrintfE|xit("Sor| |00000ba0| 72 79 2e 20 54 68 69 73 | 20 70 72 6f 67 72 61 6d |ry. This| program| |00000bb0| 20 72 65 71 75 69 72 65 | 73 20 43 6f 6c 6f 72 20 | require|s Color | |00000bc0| 51 75 69 63 6b 44 72 61 | 77 2e 5c 6e 22 29 3b 0d |QuickDra|w.\n");.| |00000bd0| 09 09 64 65 66 61 75 6c | 74 3a 0d 09 09 09 50 72 |..defaul|t:....Pr| |00000be0| 69 6e 74 66 45 78 69 74 | 28 22 53 6f 72 72 79 2e |intfExit|("Sorry.| |00000bf0| 20 54 68 69 73 20 70 72 | 6f 67 72 61 6d 20 72 65 | This pr|ogram re| |00000c00| 71 75 69 72 65 73 20 33 | 32 2d 62 69 74 20 51 75 |quires 3|2-bit Qu| |00000c10| 69 63 6b 44 72 61 77 2e | 5c 6e 22 29 3b 0d 09 7d |ickDraw.|\n");..}| |00000c20| 0d 7d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.}......|........| |00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000c80| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>| |00000c90| 20 3d 20 30 78 41 38 46 | 46 3b 20 0d 70 61 73 63 | = 0xA8F|F; .pasc| |00000ca0| 61 6c 20 76 6f 69 64 20 | 47 65 74 46 4e 75 6d 28 |al void |GetFNum(| |00000cb0| 0c 50 72 69 6e 74 66 45 | 78 69 74 2e 63 45 02 00 |.PrintfE|xit.cE..| |00000cc0| 00 00 54 45 58 54 4b 41 | 48 4c 00 00 00 00 00 00 |..TEXTKA|HL......| |00000cd0| 00 00 54 45 58 54 4b 41 | 48 4c 00 00 00 00 00 00 |..TEXTKA|HL......| |00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000cf0| 00 00 a7 e5 d5 c4 00 00 | 00 00 00 00 01 ac 73 68 |........|......sh| |00000d00| 6f 72 74 20 66 6f 6e 74 | 4e 75 6d 2c 73 68 6f 72 |ort font|Num,shor| |00000d10| 74 20 73 69 7a 65 29 0d | 20 20 20 20 3d 20 30 78 |t size).| = 0x| |00000d20| 41 39 30 32 3b 20 0d 70 | 61 73 63 61 6c 20 76 6f |A902; .p|ascal vo| |00000d30| 69 64 20 53 65 74 46 6f | 6e 74 4c 6f 63 6b 28 42 |id SetFo|ntLock(B| |00000d40| 6f 6f 6c 65 61 6e 20 6c | 6f 63 6b 46 6c 61 67 29 |oolean l|ockFlag)| |00000d50| 0d 20 20 20 20 3d 20 30 | 78 41 39 30 33 3b 20 0d |. = 0|xA903; .| |00000d60| 70 61 73 63 61 6c 20 46 | 4d 4f 75 74 50 74 72 20 |pascal F|MOutPtr | |00000d70| 46 4d 53 77 61 70 46 6f | 6e 74 28 63 6f 6e 73 74 |FMSwapFo|nt(const| |00000d80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 19 00 00 |...H..Mo|naco....| |00000d90| 00 00 00 00 00 01 d6 60 | 00 01 d6 5c 00 00 00 00 |.......`|...\....| |00000da0| 00 00 00 00 00 00 00 06 | 00 04 00 3c 00 24 01 8d |........|...<.$..| |00000db0| 02 3d 00 3c 00 24 01 8d | 02 3d a7 ab 63 a3 00 00 |.=.<.$..|.=..c...| |00000dc0| 00 00 00 00 00 00 00 00 | 02 a7 01 00 00 00 00 1e |........|........| |00000dd0| 00 3c 00 24 01 8d 02 3d | 00 3c 00 24 01 8d 02 3d |.<.$...=|.<.$...=| |00000de0| 00 00 02 a7 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000df0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 21 |.....n..|.n...>.!| |00000e00| 0c dc 15 ac 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |........|.>..MPSR| |00000e10| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........| |00000e20| 03 f0 ff ff 00 00 00 4c | 00 23 0a b4 00 00 00 00 |.......L|.#......| |00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+